package memnet.graph;

public class EdgeData {

	final Object data;
	public EdgeData(Object d){
		this.data = d;
	}
	
	public int hashCode(){
		return data.hashCode();
	}
	
	public boolean equals(Object other){
		if( other instanceof EdgeData){
			return ((EdgeData)other).data.equals(this.data);
		}
		return false;
	}
	
	public String toString(){
		return data.toString();
	}
}
